<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Index</title>
</head>
<body>
<div ng-app="app" ng-controller="indexCtrl">
    <span ng-bind="indexScope.user.name"></span>

    <div class="m-lg-0" ng-repeat="item in indexScope.list">
        <input ng-model="$parent.conf[$index]">
    </div>

    <button ng-click="indexScope.show()">点击我</button>
</div>

<div id="app">
    <div v-for="item in dataList">123134
        <a>{{message}}</a></div>
</div>

<script type="text/javascript" src="../scripts/vendor/jquery-3.4.1/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../scripts/vendor/vue-2.6.11/vue.min.js"></script>
<script>
    var vm = new Vue({
        el: "#app",
        data: {
            dataList: [{
                id: 1,
                text: 2
            }],
            message: 123,
        },
        methods: {
            init: function () {
debugger
                this.data.dataList = [{
                    id:1,
                    text:2
                },{
                    id:1,
                    text:2
                }];
                this.data.message = "12345";
            },
        },
        mounted: function () {
        },
    });

    vm.init();


</script>
</body>
</html>
